package com.woniuxy.commons.service;

import com.woniuxy.commons.entity.Invest;
import com.woniuxy.commons.entity.Receivables;
import com.woniuxy.commons.interceptor.FeignOauth2RequestInterceptor;
import com.woniuxy.commons.request.ResponseResult;
import com.woniuxy.commons.vo.AddAddTimeToReceivablesVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

import java.util.List;

@FeignClient(name = "project", path = "/project", contextId = "project",configuration = FeignOauth2RequestInterceptor.class)
public interface FeignProjectService {
    @PostMapping("/bid")
    public ResponseResult<Boolean> bid(@RequestBody Invest invest);
}
